local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1
L0_1 = {}
L0_1.group_id = 133222188
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 188001
L2_1.gadget_id = 70310086
L3_1 = {}
L3_1.x = -4675.999
L3_1.y = 199.56
L3_1.z = -4182.492
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 92.0
L3_1.z = 353.431
L2_1.rot = L3_1
L2_1.level = 30
L3_1 = GadgetState
L3_1 = L3_1.Action01
L2_1.state = L3_1
L2_1.persistent = true
L2_1.area_id = 14
L3_1 = {}
L3_1.config_id = 188002
L3_1.gadget_id = 70310086
L4_1 = {}
L4_1.x = -4676.12
L4_1.y = 199.171
L4_1.z = -4185.644
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 92.0
L4_1.z = 353.431
L3_1.rot = L4_1
L3_1.level = 30
L4_1 = GadgetState
L4_1 = L4_1.Action02
L3_1.state = L4_1
L3_1.persistent = true
L3_1.area_id = 14
L4_1 = {}
L4_1.config_id = 188003
L4_1.gadget_id = 70310086
L5_1 = {}
L5_1.x = -4676.225
L5_1.y = 198.752
L5_1.z = -4188.721
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 92.0
L5_1.z = 353.431
L4_1.rot = L5_1
L4_1.level = 30
L5_1 = GadgetState
L5_1 = L5_1.Action01
L4_1.state = L5_1
L4_1.persistent = true
L4_1.area_id = 14
L5_1 = {}
L5_1.config_id = 188004
L5_1.gadget_id = 70310086
L6_1 = {}
L6_1.x = -4604.817
L6_1.y = 200.686
L6_1.z = -4279.858
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 2.075
L6_1.y = 28.153
L6_1.z = 11.587
L5_1.rot = L6_1
L5_1.level = 30
L6_1 = GadgetState
L6_1 = L6_1.Action01
L5_1.state = L6_1
L5_1.persistent = true
L5_1.area_id = 14
L6_1 = {}
L6_1.config_id = 188005
L6_1.gadget_id = 70310086
L7_1 = {}
L7_1.x = -4654.65
L7_1.y = 200.844
L7_1.z = -4325.218
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 350.358
L7_1.y = 157.023
L7_1.z = 2.043
L6_1.rot = L7_1
L6_1.level = 30
L7_1 = GadgetState
L7_1 = L7_1.Action02
L6_1.state = L7_1
L6_1.persistent = true
L6_1.area_id = 14
L7_1 = {}
L7_1.config_id = 188006
L7_1.gadget_id = 70310086
L8_1 = {}
L8_1.x = -4657.442
L8_1.y = 200.911
L8_1.z = -4326.382
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 350.631
L8_1.y = 157.053
L8_1.z = 0.776
L7_1.rot = L8_1
L7_1.level = 30
L8_1 = GadgetState
L8_1 = L8_1.Action01
L7_1.state = L8_1
L7_1.persistent = true
L7_1.area_id = 14
L8_1 = {}
L8_1.config_id = 188007
L8_1.gadget_id = 70310086
L9_1 = {}
L9_1.x = -4606.23
L9_1.y = 200.742
L9_1.z = -4282.541
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.725
L9_1.y = 27.876
L9_1.z = 12.345
L8_1.rot = L9_1
L8_1.level = 30
L9_1 = GadgetState
L9_1 = L9_1.Action02
L8_1.state = L9_1
L8_1.persistent = true
L8_1.area_id = 14
L9_1 = {}
L9_1.config_id = 188008
L9_1.gadget_id = 70310086
L10_1 = {}
L10_1.x = -4655.831
L10_1.y = 200.393
L10_1.z = -4322.53
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 349.267
L10_1.y = 156.496
L10_1.z = 1.841
L9_1.rot = L10_1
L9_1.level = 30
L10_1 = GadgetState
L10_1 = L10_1.Action02
L9_1.state = L10_1
L9_1.persistent = true
L9_1.area_id = 14
L10_1 = {}
L10_1.config_id = 188009
L10_1.gadget_id = 70310086
L11_1 = {}
L11_1.x = -4658.615
L11_1.y = 200.434
L11_1.z = -4323.604
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 352.318
L11_1.y = 157.002
L11_1.z = 0.728
L10_1.rot = L11_1
L10_1.level = 30
L11_1 = GadgetState
L11_1 = L11_1.Action02
L10_1.state = L11_1
L10_1.persistent = true
L10_1.area_id = 14
L11_1 = {}
L11_1.config_id = 188010
L11_1.gadget_id = 70310086
L12_1 = {}
L12_1.x = -4756.453
L12_1.y = 200.501
L12_1.z = -4282.089
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 352.511
L12_1.y = 263.514
L12_1.z = 359.049
L11_1.rot = L12_1
L11_1.level = 30
L11_1.persistent = true
L11_1.area_id = 14
L12_1 = {}
L12_1.config_id = 188011
L12_1.gadget_id = 70310086
L13_1 = {}
L13_1.x = -4756.923
L13_1.y = 200.392
L13_1.z = -4278.375
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 352.511
L13_1.y = 263.514
L13_1.z = 358.536
L12_1.rot = L13_1
L12_1.level = 30
L13_1 = GadgetState
L13_1 = L13_1.GearStart
L12_1.state = L13_1
L12_1.persistent = true
L12_1.area_id = 14
L13_1 = {}
L13_1.config_id = 188012
L13_1.gadget_id = 70310086
L14_1 = {}
L14_1.x = -4757.396
L14_1.y = 200.436
L14_1.z = -4274.478
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 351.738
L14_1.y = 263.503
L14_1.z = 0.803
L13_1.rot = L14_1
L13_1.level = 30
L13_1.persistent = true
L13_1.area_id = 14
L14_1 = {}
L14_1.config_id = 188013
L14_1.gadget_id = 70310086
L15_1 = {}
L15_1.x = -4753.083
L15_1.y = 200.043
L15_1.z = -4281.745
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 352.511
L15_1.y = 263.514
L15_1.z = 359.466
L14_1.rot = L15_1
L14_1.level = 30
L15_1 = GadgetState
L15_1 = L15_1.GearStart
L14_1.state = L15_1
L14_1.persistent = true
L14_1.area_id = 14
L15_1 = {}
L15_1.config_id = 188014
L15_1.gadget_id = 70310086
L16_1 = {}
L16_1.x = -4753.49
L16_1.y = 200.036
L16_1.z = -4277.975
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 352.511
L16_1.y = 263.514
L16_1.z = 357.928
L15_1.rot = L16_1
L15_1.level = 30
L15_1.persistent = true
L15_1.area_id = 14
L16_1 = {}
L16_1.config_id = 188015
L16_1.gadget_id = 70310086
L17_1 = {}
L17_1.x = -4753.925
L17_1.y = 199.9
L17_1.z = -4274.132
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 352.511
L17_1.y = 263.514
L17_1.z = 359.767
L16_1.rot = L17_1
L16_1.level = 30
L16_1.persistent = true
L16_1.area_id = 14
L17_1 = {}
L17_1.config_id = 188016
L17_1.gadget_id = 70310086
L18_1 = {}
L18_1.x = -4749.323
L18_1.y = 199.669
L18_1.z = -4281.337
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 354.807
L18_1.y = 263.454
L18_1.z = 359.304
L17_1.rot = L18_1
L17_1.level = 30
L17_1.persistent = true
L17_1.area_id = 14
L18_1 = {}
L18_1.config_id = 188017
L18_1.gadget_id = 70310086
L19_1 = {}
L19_1.x = -4749.88
L19_1.y = 199.614
L19_1.z = -4277.466
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 353.73
L19_1.y = 262.844
L19_1.z = 359.063
L18_1.rot = L19_1
L18_1.level = 30
L18_1.persistent = true
L18_1.area_id = 14
L19_1 = {}
L19_1.config_id = 188018
L19_1.gadget_id = 70310086
L20_1 = {}
L20_1.x = -4750.384
L20_1.y = 199.506
L20_1.z = -4273.712
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 352.511
L20_1.y = 263.514
L20_1.z = 358.507
L19_1.rot = L20_1
L19_1.level = 30
L20_1 = GadgetState
L20_1 = L20_1.GearStart
L19_1.state = L20_1
L19_1.persistent = true
L19_1.area_id = 14
L20_1 = {}
L20_1.config_id = 188019
L20_1.gadget_id = 70211111
L21_1 = {}
L21_1.x = -4753.34
L21_1.y = 201.528
L21_1.z = -4277.958
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 7.495
L21_1.y = 83.328
L21_1.z = 2.048
L20_1.rot = L21_1
L20_1.level = 26
L20_1.drop_tag = "\232\167\163\232\176\156\228\184\173\231\186\167\231\168\187\229\166\187"
L20_1.isOneoff = true
L20_1.persistent = true
L21_1 = {}
L21_1.name = "chest"
L21_1.exp = 1
L20_1.explore = L21_1
L20_1.area_id = 14
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1188020
L2_1.name = "GADGET_STATE_CHANGE_188020"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_188020"
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_188020"
L1_1[1] = L2_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 2
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 188001
L5_1 = 188002
L6_1 = 188003
L7_1 = 188004
L8_1 = 188005
L9_1 = 188006
L10_1 = 188007
L11_1 = 188008
L12_1 = 188009
L13_1 = 188010
L14_1 = 188011
L15_1 = 188012
L16_1 = 188013
L17_1 = 188014
L18_1 = 188015
L19_1 = 188016
L20_1 = 188017
L21_1 = 188018
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_1
L3_1[13] = L16_1
L3_1[14] = L17_1
L3_1[15] = L18_1
L3_1[16] = L19_1
L3_1[17] = L20_1
L3_1[18] = L21_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_188020"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 188001
L6_1 = 188002
L7_1 = 188003
L8_1 = 188004
L9_1 = 188005
L10_1 = 188006
L11_1 = 188007
L12_1 = 188008
L13_1 = 188009
L14_1 = 188010
L15_1 = 188011
L16_1 = 188012
L17_1 = 188013
L18_1 = 188014
L19_1 = 188015
L20_1 = 188016
L21_1 = 188017
L22_1 = 188018
L23_1 = 188019
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L4_1[7] = L11_1
L4_1[8] = L12_1
L4_1[9] = L13_1
L4_1[10] = L14_1
L4_1[11] = L15_1
L4_1[12] = L16_1
L4_1[13] = L17_1
L4_1[14] = L18_1
L4_1[15] = L19_1
L4_1[16] = L20_1
L4_1[17] = L21_1
L4_1[18] = L22_1
L4_1[19] = L23_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = GadgetState
  L2_2 = L2_2.GearStart
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = 133222188
  L6_2 = 188010
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = GadgetState
  L2_2 = L2_2.Default
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = 133222188
  L6_2 = 188011
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = GadgetState
  L2_2 = L2_2.GearStart
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = 133222188
  L6_2 = 188012
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = GadgetState
  L2_2 = L2_2.Default
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = 133222188
  L6_2 = 188013
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = GadgetState
  L2_2 = L2_2.GearStart
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = 133222188
  L6_2 = 188014
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = GadgetState
  L2_2 = L2_2.Default
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = 133222188
  L6_2 = 188015
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = GadgetState
  L2_2 = L2_2.Default
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = 133222188
  L6_2 = 188016
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = GadgetState
  L2_2 = L2_2.Default
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = 133222188
  L6_2 = 188017
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = GadgetState
  L2_2 = L2_2.GearStart
  L3_2 = ScriptLib
  L3_2 = L3_2.GetGadgetStateByConfigId
  L4_2 = A0_2
  L5_2 = 133222188
  L6_2 = 188018
  L3_2 = L3_2(L4_2, L5_2, L6_2)
  if L2_2 ~= L3_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_188020 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGroupGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 133222038
  L5_2 = 38004
  L6_2 = GadgetState
  L6_2 = L6_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_GroupId_ConfigId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.ChangeGroupVariableValueByGroup
  L3_2 = A0_2
  L4_2 = "Finish"
  L5_2 = 1
  L6_2 = 133222266
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : change_GroupVariable_by_group"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GoToGroupSuite
  L3_2 = A0_2
  L4_2 = 133222188
  L5_2 = 2
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : goto_groupSuite"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 188010
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 188011
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 188012
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 188013
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 188014
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 188015
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 188016
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 188017
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 188018
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 188001
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 188002
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 188003
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 188004
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 188005
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 188006
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 188007
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 188008
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 188009
  L5_2 = GadgetState
  L5_2 = L5_2.Action02
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_188020 = L1_1
